package collection;

import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.JTextField;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class Modifypanel extends JPanel {
	private JTextField textField;

	/**
	 * Create the panel.
	 */
	public Modifypanel() {
		setLayout(null);
		
		JButton button = new JButton("\uC785\uB825");
		button.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				
				
				
				String str = textField.getText();
				ListFrame.list.add(str);
				
				
				
			}
		});
		button.setBounds(319, 23, 97, 23);
		add(button);
		
		textField = new JTextField();
		textField.setBounds(22, 24, 281, 21);
		add(textField);
		textField.setColumns(10);

	}

}
